added optional scroll offset

Hey there,

I wanted to use your plugin on a site with a fixed header navigation. To prevent the content from being covered by the sticky header, I added an option to set an offset for the scrolling calculation.