I love the effect that the initial smoothHeight has when the page loads. I hate the way it slowly reacts to a page resizing after the initial load. I would love to keep the effect for the initial page load, and then fall back to the default resizing without animation. I have been chasing this for hours. By setting the smoothHeight variable back to false at the end of the smoothHeight function itself I can switch the variable back to false after the initial animation, but this disables any resizing of the height after the initial load. This feels like a very simple operation, but I can't figure it out. Thanks ahead of time for any ideas!
Basically, when this block is executed once, it sets the height so that, even once the variable is changed back to false, the height is no longer flexible.
smoothHeight: function(dur) {
if (!vertical || fade) {
var $obj = (fade) ? slider : slider.viewport;
(dur) ? $obj.animate({"height": slider.slides.eq(slider.animatingTo).height()}, dur) : $obj.height(slider.slides.eq(slider.animatingTo).height());
}
}