If Program 2.1 runs fine, it means vpython is set up okay. For lagginess, I suggest you try the following:
(1) Go to the Jupyter home tab, click on "Running" near the top; then click on the Shutdown button to the right of every program running. Now run the intended program.
(2) Often, you will need to restart the kernel if you stop the animation, or after making changes to a program.
(3) Last, you may want to close some tabs in your browser, if you have many open.