implemented swipable cards