Fixed issue with nav bar on ios 6