Animations now triggered by JavaScript and not class toggling.