If you remove the height attribute on accordionResizer ( height:220px ), everything works as it should. It seems that the height you have chosen is too small for the content - hence overflow.
If you need something other than the default height to match the content, try dynamically assigning the height of the accordion each time you add a new section.
sort of...
var height = $("#accordion h3").size() * $("#accordion h3:first").height() + 50; // add 50px to allow room for the section contents. $("#accordionResizer").height(height);
source share