change size of main container