Add a 'transitioning' class to collapse target to monitor animation state