Made map popup respond to map window height for small screens
Expanded box containing basemaps so that it holds two complete rows
Revised handling of commonConfig for IE