prefixed webkitRequestAnimationFrame for Safari