Make the map mode switcher togglable