ui.datepicker - pops up in wrong position after panel slides

ui.datepicker - pops up in wrong position after panel slides


Hi Guys
I have a date picker which is located on a sliding panel.
When the panel is slid out and the date picker invoked, the calendar
pops up in the wrong position (the position it was in before the slide
occured)
Is there a way to reset this position so that it pops up underneath
the new position of the date input field after the panel has slid?
I noticed that, if the panel is dragged, it updates the datepicker and
the calender appears in the correct place.
Has anyone ever sussed this one out before? - I'm stumped
Cheers guys
Dannster