[jQuery] jScrollPane initialization problem

[jQuery] jScrollPane initialization problem


Hi guys,
I've searched around in jScrollPane threads but can't seem to find
what I'm looking for.
My site (http://pranshuarya.com/p2) has a bunch of collapsing divs
controlled with show() and hide(). The jScrollPane scrollbar shows up
the first time around, but after that, when I recall the same
function, it doesn't show up.
I read that it needs to be reinitialized each time the div changes,
and I've worked that into the function so that it gets reinitialized
each time the initial_list function is called, like this:
var initial_list=function(){
$.get('data.php',function(data){
$(data).find('site').each(function(){
var $entry=$(this)
var $site_title=$entry.find('site_title').text()
var html_site='<li>'+$site_title+'</li>'
$('#sites ul').append($(html_site))
return
})
var scroll_pane=function() {
    $('#sites ul').jScrollPane()
}
return
})
return}
But it doesn't seem to work. Does anyone know what I can do to make
it work?
Thanks.