Fixed #43 view appear methods were called twice on iOS 5 for RootViewController
upstream merge