In this blog post Joel Neubeck creates a TargetedTriggerAction which allows you to add the trigger to a button or multiple UIElement and “Target” a panel to be flipped.
What is really cool about this approach is that each button can contain the logic used to flip the panel (Storyboard direction, duration, etc).