refactor navigation pane