Show maps on the history view

Seems to be working, except for a small bug. The first route I open after switching to the History tab is fine, but for subsequent routes the map doesn't zoom in to the area containing the path. A work-around is to click the History tab again before opening each route.