why skrollr.js moves elements to the side

  css, html, javascript, skrollr

I have set some skrollr.js library animations on my project when scrolling down. However, I have a navbar that scrolls down to different sections as well. When I click on any section on the navbar, that whole section moves to the side because of skrollr.js. Tried looking for a solution here, but couldn’t find any related topic. What can I do in this situation?

First image
Second image

Source: Ask Javascript Questions