Easily adapting containers to resize