Use getScrollX to know where to draw in the Canvas