Add the custom transition_start event handler