modify the variable window's position