adding a pan event handler