configure min and max width properties