Implementing container-level noStretch/flexStretch