I am trying to design an onepage scrolling website . The site has a navigation which become fixed when the user scroll it. The issue is after the web page scrolled down to corresponding slide, the slide jumps to top to make its top margin to 0. This happens only in the firefox and IE. work perfectly on webkit browsers.