finalizing formatting and added winning animation, popover, and modal