add click event to center clicked markers