Use prefixed requestAnimationFrames if available