Respect the 'enable animations' pref when animating views.