Updated scrollTo option to accept a function callback with parameters context and hash.
Updated scrollTo option if set to true page will scroll to pjax container.
Added scrollOffset option to offset the scrollTo position if needed. scrollOffset can be a callback function with the current scrollTo value passed as a parameter.
Includes changes from #42.
scrollTo
option to accept a function callback with parameters context and hash.scrollTo
option if set to true page will scroll to pjax container.scrollOffset
option to offset thescrollTo
position if needed.scrollOffset
can be a callback function with the currentscrollTo
value passed as a parameter.