removed swipe fuctions for carousel