This seemed to work. There are a couple of spots where there are disconnected pieces during a move, but IIRC that was acceptable.

>! [![enter image description here][1]][1]


  [1]: https://i.sstatic.net/b0Zhd.gif