Restructures the navigation bar