fix weired animation for iOS 8