fix orientation bug of ios7