Refactoring and updates to CSS.
Updates to use CSS transitions.