I tried to add an update to the autoHeight to match the current slide 

I tried to add an update to the autoHeight to match the current slide not only to the first slide or the heights one , but to be the height of the current slide , which will not leave any empty space on shorter ones.

just change the autoHeight: 'currentSlide'

regards