Constant animation duration, better blocks.

Use a constant value for the duration of the window resize animation, it
feels cleaner. Also, let NSAnimationContext handle the block that adds
the new view to the window, instead of using GCD.