Added button for automatic transition animation.

Disables the button, path dragging, and slider moving until animation is
done.
Removed a tiny bit of unused code.