move window by half the window size each time