catching when a panel closes

catching when a panel closes

I'm using a panel to display information on a mobile app (jquery 1.3 beta).
 
It's being opened based on a selection on the main page, which I will highlight when it's clicked on.
 
When the panel closes (slides off the screen), I want to unhighlight the selection.
 
How do I catch / bind to an event on the panel so that I can do so?
 
(This may be an easy question, but I'm new to jquery mobile and nearly new to jquery!).
 
Iain