title: UITableView first row is scrolled up when view shows up
body: <p>I ran into this very strange bug and have no idea how to fix it after trying all that I know. So if you can help it would be immensely helpful!!!</p>
  
  <p>I have a <code>UIViewController</code> that is hosting a <code>tableView</code> whose <code>dataSource</code> and <code>delegate</code> is the viewController itself. I am using it to present some navigation options, it is being presented with the iOS package <code>ECSlidingViewController</code>.</p>
  
  <p>A screenshot of what it looks like is the following:</p>
  
  <p><img src="https://i.stack.imgur.com/4ACLw.png" alt="enter image description here"></p>
  
  <p>Notice that there are only 2 items in the tableView now. But there is actually another item (the first one) that's above these two. However, that one is automatically scrolled up when the view shows up, and if I try to scroll it down, the first item is indeed visible, but the tableView automatically bounces back when I release the scrolling gesture.</p>
  
  <p>I have tried <code>setContentOffset</code> for the tableView, and <code>scrollToRowAtIndexPath</code> in <code>viewWillAppear</code> and none of them works.</p>
  
  <p>The menu items are set as a property of the VC itself in villDidLoad, which looks like this</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
      self.menuItems = [NSArray arrayWithObjects: @"Run Test", @"Test Log", @"About", nil];
      // setup the dataSource and delegate for tableView
      self.tableView.dataSource = self;
      self.tableView.delegate = self;
      [self.slidingViewController setAnchorRightRevealAmount:ANCHOR_RIGHT_REVEAL_AMOUNT];
      self.slidingViewController.underLeftWidthLayout = ECFullWidth;
  }
  </code></pre>
  
  <p>As you can see the first item is <code>@"Run Test"</code>, which is scrolled off screen automatically for no reason. Thank you very much for your help!</p>