improved code to enforce minimum height when resizing ontologies; first
steps to trigger automatic resizing when expanding/collapsing
compartments