How to distinguish 'swipe' and 'pan' event


Hi All,

What I trying to do is : I put a a list of image in array and put a ino-scroll on page, in the ion-scroll I put the ion-image, I can use ‘pinch’ to zoom it, and I can use ‘pan’ to move it when the image is scaled within ion-scroll, now I want to swipe to next or pervious page when swipe the image.
I can put ‘swipe’ event, but when swipe event happens the same time ‘pan’ event happens as well, it does not change to other page , it move the current page, so how I can swipe it, thanks.