Added possibility to reset old event listeners by using transitionId parameter