Select the position of the window