Added version check to prevent UINavigationController overlap in iOS7

In iOS7, the tabbar will be hidden if displayed by a UINavigationController.