This fixes the Firefox-specific problems raised in Issue 117.
Firefox compatibility for side-scrolling.
Actually, please do not merge this in right away. It causes a small display problem and is less efficient than it could be. I will add another commit to the request in the next few days.
Cool. Sometimes being slow pays off for me. Thanks for the followup.
I've made some changes to the fix. We now only have to find the appropriate element to scroll once. And we no longer mess with the display of the page if it is already scrolled.
Only calculate scroll container once. Don't scroll unnecessarily.