move #map.hide to application layout