make accordion transitions work (at least in latest browsers)