updated css and flashcard.js files to improve look and functionality