Fix for carousels slides with varying dimensions