fix iOS 7.1 layout issue