title: UIScrollView jumps down when first touched
body: <p>I have two UIScrollViews, one horizontal, one vertical, both two pages each (as in, the horizontal one is two pages wide, and the vertical one is two pages high). The horizontal scrollview is in the vertical one. I am trying to imitate Calcbot's design, where you can scroll left/right for buttons and up/down for history.</p>
  
  <p>However, when the view loads, the horizontal scroll view is about 100 pixels higher than where it should be. Then, when I touch it and begin moving it a little, it jumps/skips down to the correct position and stays there. How do I have it appear correctly right from the start?</p>
  
  <p>Here is my code for viewDidLoad:</p>
  
  <pre><code>-(void)viewDidLoad {
  horizontalScrollView.pagingEnabled = YES;
  verticalScrollView.pagingEnabled = YES;
  
  
  horizontalScrollView.contentSize = CGSizeMake(horizontalScrollView.bounds.size.width * 2, horizontalScrollView.bounds.size.height); // 2 pages wide.
  verticalScrollView.contentSize = CGSizeMake(verticalScrollView.bounds.size.width, verticalScrollView.bounds.size.height * 2);
  
  
  horizontalScrollView.delegate = self;
  verticalScrollView.delegate = self;
  
  
  
  
  [verticalScrollView addSubview:horizontalScrollView];
  
  [verticalScrollView setContentOffset:CGPointMake(0, 640)];
  
  [self.view addSubview:verticalScrollView];
  
  horizontalScrollView.frame = CGRectMake(0, 540, 320, 460);
  
  }
  </code></pre>
  
  <p>Thanks.</p>