That’s true. I was looking into using that. I wanted the slider to stay the same size and a scrollbar to be added though. I figured out how to do it with this:
$('#slideInner').animate({
'marginLeft' : slideWidth*(-currentPosition)
},null,null,
function(){
$('#slidesContainer').css('height', $(this).children(".slide:nth-child(" + parseInt((Math.ceil(-1*slideWidth*(-currentPosition) / $("#slideshow").width())) + 1) + ")").height() + "px");
}
);
And by I figured it out I mean someone helped me on Stack Overflow. Just thought I should clarify =)