Revert rendering to requestAnimateFrame, 60 fps; first step toward mobile device touch

Also fix bug in attach_trail.