Move the transition to a custom Segue class