Detach and re-attach the menu element.

I had to override an inherited `min-width: 100%` property to get it to
size properly. but it's working.