cleanup
Recalculate min/max height in setupInitialHeightWithoutAnimation.