Refactored <canvas> scrollbars to work for both ends of the scrollbar.