I was originally using negative gameSpeed above/below the edge of the window, but it doesn't seem to work.
I built it into my move function, so it doesn't let you move a certain direction if you're against the edge of the window.
you could use if statement.