added custom map switching to history view