animate change of flashcards