Also resize the map when the tab is selected