The viewable plugin allows you to know when an element is in view and what percentage of the element is viewable.