There's nothing that automatically reverses an effect when the transition is played for the reverse state change. To get the effect you want, you need to create a separate transition for both directions, using the fromState/toState properties of Transition, and specify effects that are mirrors. So for the transition effect going back to "normal", you would specify a Sequence where the item Fade happens first, then the panel Fade/Resize.
Ah okay... that's what I thought.
My first idea was that leaving out fromState / toState properties would automatically define a transition to work to both "sides".
Thanks a lot!
We're actually considering future capabilities around auto-reversing a transition (being able to play its effect backwards). But even if that came to pass, you'd still need to tell the transition which direction was forwards. That is, if you don't specify the from/to information, then it will just be used as the default transition for any state change, and there's no information in the transition to tell it what's forwards or backwards, so it wouldn't always just play in the direction specified in the effect.
Anyway, glad you got it working.