Added fliping animation and new view of flashcards