jQuery Scrollomatic Demo

Scrollomatic on GitHub

Section 1

Has a margin-top of 20px - scrollomatic scrolls to the top of the margin, not the content.

Back to top

Section 2

Has a padding-top of 40px;

Back to top

Section 3

Back to top