adds most of the navigation elements