hide navigation bar and menu bar