defines animation on view change (object with type and subtype properties) or disables animation (false)