add event listener to svg to enable zoom on click