This pull request is relating to my post in the jScrollPane google group: http://groups.google.com/group/jscrollpane/browse_thread/thread/e946e1e70c3f92f0
I added a 'settings' field to do a full initialise which skips the return statement in Initialise() if the system finds that the window dimensions have not changed.
The issue this solved was that if a scroll pane started with many elements which required scrolling was updated by ajax to a list of only 1 or 2 elements which did not require scrolling, the scroll bar would not be updated. It would keep the same scroll track of the first list. In another scenario, if a 2nd list was updated (ajax) with 0 elements the scroll bar would be removed. But if the list is updated again with many elements the scroll bar would not reappear. I traced this to the if statement on line 146 which prevents the initialise() function from completing if certain conditions are met.
Add setting to do full reinitialise
Found some bug, but i think it depends on contentWidth calculating, and I can't understand where contentWidth should have been changed.