added minimum height to the ontology resizing