Added requestAnimFrame and canvas looparound for sprite