Added support for prefersStatusBarHidden and preferredStatusBarUpdateAnimation to better support iOS 7