Adding event tracking for collapses