Add demo7 (movement), fix animationFrame bug