set max-width and modified margin of contianer