Implemented horizontal and mouse wheel (and trackpad) scrolling.