Don't animate if we're not displayed in a window.

This is both:
* A potential performance gain.
* And more importantly, fixes a potential bug in Auto Layout (if we suspend animation unnecessarily, then on the first display of the controller if someone uses animated:YES unnecessarily we won't call [self.view layoutSubviews] in viewDidLayoutSubviews.)