Simple library for adding class to elements on scroll
To select DOM elements use the AddElements() function. It takes three arguments:
name of the class of elements you want to select (string)
name of the class you want to add (string)
determines number of pixels from the element to the top of the window at which you want the class to be added
put the aclos() function at the end of your script
and that's it:)