title: UISearchBar with UISearchDisplayController animates outside screen
body: <p>I have standard iPad view controller which has a custom navigation bar at the top. In the xib-file I've added a UISearchBar aligned to the right edge of the view. The search bar is 320px in width. I init a searchdisplaycontroller like this:</p>
  
  <pre><code>// Search display controller
  self.mySearchDisplayController = [[UISearchDisplayController alloc] initWithSearchBar:_searchBar 
                                                                                  contentsController:self];
  _mySearchDisplayController.delegate = self;
  _mySearchDisplayController.searchResultsDataSource = self;
  _mySearchDisplayController.searchResultsDelegate = self;
  </code></pre>
  
  <p>The problem is that when I press the search bar, the bar resizes to be the full width of the entire view, but keeps its x-position. This means that it stretches far outside the screen. I'm guessing it has something to do with the "Cancel" button that slides in next to a search bar. If I place the search bar to the far left in the screen, it animates to the full width of the screen and the cancel button is visible.</p>
  
  <p>Anyone has a solution for this?</p>