How would I go about resizing a view to fit all the sub views? I have autoscrolling on but what I would like is if a view is moved so that it is not completely contained by the superview, the superview will expand to fit it. Likewise, if the view is moved towards the center, the superview would shrink to just barely fit the subviews.