Fix defect: sometimes right panel cannot be scrolled.

This was a design issue in the original slidingview class.