In wp-jscrollpane/js/wpjsp.js my code looks like this
var $j = jQuery.noConflict();$j(function(){jQuery(document).ready(function($){$('body').wrapInner('<div id="full-page-container"></div>');var win = $(window);var isResizing = false;win.bind('resize',function(){if(!isResizing){isResizing = true;var container = $('#full-page-container');container.css({'width':1,'height':1});container.css({'width':win.width(),'height':win.height()});isResizing = false;container.jScrollPane({'showArrows': true,'verticalArrowPositions':'split','horizontalArrowPositions':'split','horizontalGutter':0,'verticalGutter':0,'verticalDragMinHeight': 20,
'verticalDragMaxHeight': 20,
'horizontalDragMinWidth': 20,
'horizontalDragMaxWidth': 20});}}).trigger('resize');$('body').css('overflow','hidden');if($('#full-page-container').width() != win.width()){win.trigger('resize');}$('[id*="blog_comm"]').jScrollPane({'showArrows': true,'verticalArrowPositions':'split','horizontalArrowPositions':'split','horizontalGutter':0,'verticalGutter':0,'verticalDragMinHeight': 20,
'verticalDragMaxHeight': 20,
'horizontalDragMinWidth': 20,
'horizontalDragMaxWidth': 20});$('[id*="blogg"]').jScrollPane({'showArrows': true,'verticalArrowPositions':'split','horizontalArrowPositions':'split','horizontalGutter':0,'verticalGutter':0,'verticalDragMinHeight': 20,
'verticalDragMaxHeight': 20,
'horizontalDragMinWidth': 20,
'horizontalDragMaxWidth': 20});});});
I also have the full page scroll on in that code but should give you enough of an idea.
The jscollpane does not seem to work with wordpress 3.51. I just upgraded today and unless i can work out a fix will have to reinstall the previous version. So be careful about upgrading just yet.