resizing carousel container