Use window size instead of screen size.

Using screen size matches the breakpoint for switching to image (rather than map) to the physical device screen. This is fine except that the pattern for media queries is window size not screen size. This patch falls in line with that pattern. We need to update the map size too or it will overflow the window.