working vertical scrolling for canvas-speed