I am using the Smooth-Scroll script on a single page “super-scroll” site. I am also using media queries to adjust for tablet and mobile screen sizes.
The scroll works wonderfully if the page is loaded in any given size (eg desktop, tablet portrait, etc) However, if the page is loaded and then the media query changes the layout the scroll animation become erratic. Some links jump, some scroll to the wrong location etc.
I am guessing the location of the #link is moving in relation to where it was before the media query. Is there a way to combat this?