scrollTop method sets or returns the alternative elements of the vertical scroll bar position.
Tip: When the slider is at the very top position is 0
When the return position for:
The method returns the location of a vertical scroll bar elements of the match
When a setting position:
This method sets all vertical positions match the scroll bar elements
grammar:
Returns the vertical position of the scrollbar: $ (selector) .scrollTop ();
Setting the vertical position of the scrollbar: $ (selector) .scrollTop (position); // position in pixels vertical position of the scrollbar