correct tableView position if there has navigation bar.