Lightbox + Slides with opportunity scaling images

How I can detect in the controller value of zooming?
I need this value for disabling “on-slide-changed” in the controller. For example, when user scales the image by pinch and trying to move by x axis on image , he moves to the next slide. In this case I need that user can moving by image to look other parts. How I can fix it?