renamed window position functions