map toggle functionality + syles