perf(animations): wrap loops in requestAnimationFrame call (#19630)
perf(animations): wrap loops in requestAnimationFrame call (#19630)

fixes #19629
driftyco/ionic,driftyco/ionic,driftyco/ionic,driftyco/ionic,driftyco/ionic