change to how window switching works