Modified offsets to work with iOS7 status bar and navigation bar