Fix: when the panel height is changed the layout is not updated with that value.

If for some reason you need to change the height at runtime the layout is not updated accordingly.

Also, is there some reason that the panel height is not set as default with the height of the drag view?