changes to constraints must be inside animation block if one wants them animated.

The current code happens to work right now, but is liable to break in a future version of the operating system.
small cleanups - visual format language is usually clearer where it can be used.