Refactored iOS 7 top bar fix