Adjust main nav scrolling to animate the scrolling.