improving map toggle UI