Resizing main-container.