resize map on window resize