added toggleMarkers() function