Fix layout issues

Minimally changed the CSS and javascript to fix some layout issues present when embedded in the map...