Refactor nav for sub pages.