add scrolling horizontal and redrawing canvas