resize map to window