Fixed resizing issue with carousel