Cleaned up animation code a bit. Updated podspec and README.