add swipe support for carousel