adapter ios 7 view frame like iOS 4/5/6