resizing main div