resizing image on main section