Use window base index when switching to first window