solve the problem of maps not rendering correctly in hidden elements

trigger a resize on the map when either the tab button or the toggle field bar are pressed