fix navigation

so that the correct tab is selected.