add carousel swipe event