Added dynamic resize of min-height