updated transition effects to work on transition out