create a collection of cards, and support swipe for mobile