Add a fixed and position absolute class for navbar. This is tested and working properly on mobile aswell.