Fixed bug top navigation not working