fixed style issues with flashcard view