add event click function to show pageX pageY coordinates