revert collapse change + add emulateTransitionEvent to catch dead css transitions