Move a view to a new superview without flickering
<p>As part of an animation, I have a view that I want to move deeper into the view hierarchy.  (I previously moved it to the top of the view hierarchy in order to perform an animation that appears on top of other UI elements.)  I'm using this code, which does the correct thing.</p>

<pre><code>CGRect rect = self.profileImage.frame;
UIView *sv = self.profileImage.superview;
[self.scrollview addSubview:self.profileImage];
rect = [self.scrollview convertRect:rect fromView:sv];
self.profileImage.frame = rect;
</code></pre>

<p>However, the view flickers when I do this.  Any ideas how to avoid the flicker?</p>
