fix flip transition on ios