set a max-height on map controls box based on browser