Added version check to prevent UINavigationController overlap in iOS7