title: iOS animation: Drop down that keeps it position
body: <p>I´m trying to create a drop down menu that will display a set of controls. I got the animation working but the whole "button" moves with the animation. </p>
  
  <p>My button is a UIView which is named settingsPanel, this is my code so far:</p>
  
  <pre><code>[UIView animateWithDuration:1.0f animations:^{
          self.settingsPanel.bounds = CGRectMake(self.settingsPanel.bounds.origin.x, self.settingsPanel.bounds.origin.y, self.settingsPanel.bounds.size.width, self.settingsPanel.bounds.size.height + 300);
  }];
  </code></pre>
  
  <p>I just want the height of the panel to change, and it does, but the whole view moves up a bit as well.</p>
  
  <p>How can I create a animation that justs increases the height downwards?</p>