added an option to toggle between top bar and basic menu navigation