title: iphone indexed table view problem
body: <p>I have a table view in which I'm using sectionIndexTitlesForTableView to display an index. However, when I scroll the table, the index scrolls with it. This also results in very slow refreshing of the table. Is there something obvious I could be doing wrong? I want the index to remain in place on the right while the table scrolls. This is the code I'm using for the index titles:</p>
  
  <pre><code>- (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView {
      NSMutableArray *tempArray = [[NSMutableArray alloc] init];
      [tempArray addObject:@"A"];
      [tempArray addObject:@"B"];
      [tempArray addObject:@"C"];
      [tempArray addObject:@"D"];
  ...
  
      return tempArray; 
  }
  </code></pre>