fix resizeHandler in Accordion