improvements to animation handling. Updated podspec