resizing the main container.

resizing the main container.