add event listener to marker