adding requestAnimFrame animations