Trying to figure out auto scrolling with window top and bottom