Adds carousel class maxheight