onScreen is a jQuery plugin that does stuff to elements when they enter or leave the viewport.
You can use it as
- Append new items when you reach the footer
- Lazy load for images
- Append new items while scrolling horizontally
- Track elements inside a container