Added directions functionality to the map and moved the form to the navigation bar