added animation for buttons, titles, and transitions between flash cards