convert majority of FlashCardActivity to fragment in preparation for swipe navigation