Updated transitions to work on iOS7.