manually control the card flip animation