Trigger events when detail view toggle is clicked

Set correct classes when the detail view is shown and hidden. Adding a
special detail-hidden class when the mapView is rendered.
Hide existing contents of the map whenever reset
Listen to navigate-detail and navigate-map

Load appropriate view whenever possible.
Hide the toggle-detail button by default

Only shown if detail is visible or the detail has been specifically
hidden.