Fixed the nav bar annoying bug.