made some changes so you can offset navigation controller for status bar