Made the navigation a view rather than just static html