Fixed flashcards overflow display issue