Add card flip sample code