fixed jQuery bug for responsive images in the carousel.