How to remove the event listeners?

I have this site with a slideshow where I use the swipe left/right to go between images, but there's also a zoom feature and once the bigger zoomed in image shows up on top of the slideshow, the swipe events from the slides under the zoomed in image are
still being triggered.