fixed a bug where animate class was being added to the body