Little script that detects if an element is in the viewport and adds a class to it.