fix bug animation on iphone portrait