Fixes carousel when pageSize == number of images.