Adds transition animations