JS: Toggle Animate and Slide