toggle map visibility on button press