Fixed bug in responsive resizing of carousel