Removed redundancies in animation css

fixes #285