switched to use Util.polyfillRequestAnimationFrame