You can use the Pivot in/Pivot out animation type to transition a widget in or out with a pivoting effect.

The Pivot animation can be applied to a widget as an entrance or exit animation.

Pivot animation

For more information about adding animations to your widget, see Adding widget animations.