Refactoring. A lot of changes to CSS and jQuery