Hide/show the navigation pane