added requestAnimationFrame support!!!