fixed random bug in scrolling

-bug was that there was a column of rectangles
-caused by accidentally redrawing a square over another one due to failing to take into account the fact that a square at the end wasn't actually a complete square
-fixed by drawing square before the main squares/making the end square travel an entire distance equal to its side length