console.log the x and y coordinates of the slider click