animation - ok, this fixes the iOS bug

Missing a check for window.performance before checking
window.performance.now