set max-width and auto left and right margins on main container