Add swipe event on image