moved nav to separate file