fixed UI layout issue on IOS 7