added a card flip animation