Fixed a bug with navigation scrolling for mobile