added option to select a max container width