Fixed the navbar bug