updated map UI for detach / attach map functionality.