implemented hardware cursor scrolling