I've got two panels in a VDividedBox: a top panel and a
bottom panel. Then I create a state, which will replace the top
panel with a third panel. When switching back to the base state,
however, the top panel doesn't occupy the original divided space,
it is pushed all the way to the top and is obviously minimized.
Also, what I noticed is that, if I change the divider position
before switching the states, everything looks fine. Please see code
attached and help me with this hopefully quick issue. Thank you.