My animation doesn\'t work anymore when x value goes beyond 100. How does increase the number of frames displayed? The function animate() doesn\'t work anymore with the new