Better accordion onresize fix.