WIP use the new panel API

This works, but the specs are broken currently.

The tree view relies on `detach` to hide and `attach` to show. These concepts are pretty baked into the tests. 

The new panel API always attaches the node, then just hide/shows it. 

@kevinsawicki feel free to start over if you want to. This is just here for reference.