Add custom transition class