rochal/jQuery-slimScroll — pull request #7 by robink (2011-11-30 14:03:54+00:00)
Title: bar.css('top') instead of bar.position().top

As seen on http://api.jquery.com/position/ , position() is not working with hidden elements

This induce a bug that you can reproduce this way:

1/ go to a scrollable area, scroll to the middle of it
2/ stop scrolling with still having the cursor in the scrollable area, do not move the mouse anymore
3/ wait for the scrollbar to disappear
4/ scroll again, still without moving the cursor

Scroll should go to top.

This is fixed by the following pull request.