hide map div when not in use