Some fixes for autohide.
Fixed size allocation on vertical panels.