cubiq/iscroll — pull request #210 by jtara (2012-05-12 18:03:19+00:00)
Title: Added bottomOffset option. Facilitates pull-up-to-refresh with proper bounce.

I added a bottomOffset option which has complementary functionally to topOffset. So, you can have content "below the fold" that you can drag into, but the scroller will bounce back to hide that content.

This is needed for a proper implementation of "pull up to refresh" to match "pull down to refresh" appearance.

You can hack this in an onRefresh() callback, but this is a cleaner and clearer way.