#9 move the window over the graph done