benoitpointet/jquery-scrollsnap-plugin — pull request #10 by paulwittmann (2013-07-26 00:00:15+00:00)
Title: Added fix for offset

There's a bug in the scrollsnap plugin:

with an offset, snapping only works for scroll positions BELOW a snap-sensitive container.
i've adjusted the formulas to fix this issue.

haven't tested this case:
if (scrollingEl.scrollTop !== undefined) {
// scrollingEl is DOM element (not document)

but the fix should be the same.