specs for switching windows with current window closed