Resize map when window is resized