Fixed dynamic layout

Toggling between byte, number, and vector works now, but it's not very
pretty.