add click functionality to map markers