Swap the open documents and active document hysteresis