use setInterval and add stop button

Now with finite stack depth and the ability to stop automoving!