made it so the viewbox works, things actually fit now
use html tables instead of going down the rat hole of trying to make nested rectangles work with the layout library; seems to work ok