In my UI I have an accordion setup like this:
Section 1 ...content... //
Just call the accordions .resize() method, this will recalculate its size. http://docs.jquery.com/UI/Accordion#method-resize
.resize()