resize map after user resizes