adjust window to the front