moved nav out into its own file