now the map resizes when window is resized