cleaned up animation library.