Little script that detects if an element is in the viewport and adds a class to it.
jQueryViewportchecker
https://github.com/dirkgroenen/jQuery-viewport-checker