[jQuery] jScrollPane and display:none

[jQuery] jScrollPane and display:none


I have a page that shows and hides a layer based on a click.
When the page loads, this layer is set to css ; display:none
I have a scrollpane inside of this layer.
When I click and show the hidden layer, everything works except the
scrollpane?
If I remove the display attribute and reload the page, then the
scrollpane is there and works fine.
It has something to do with the parent layer being hidden I and I
cannot figure it out.
Any ideas?
Using FF and Safari