wduffy/jScroll — pull request #6 by kwbr (2011-10-14 10:15:43+00:00)
Title: Consider top option when calculating new margin

* The value of top option is not considered when determining the visibility of
the element. The element is scrolled after it's top offset is lower than the
$window.scrollTop() position. Setting the top value to a bigger value e.g.
200px shows a "jumping" effect: when scrolling the element "jumps" to it's
correct position 200px below the browser window *after* it scrolled off the
window.

* This commit changes the behaviour. The top value is considered as a margin-top
of the element, so it stays visible the whole time.

* See http://jsbin.com/uqoyef/latest for old an new behaviour.