add map top margin

toggle map visibility when dismiss