improve layout so that the map doesn't get sent to the bottom on smaller window size (like iPad)