add window position getter