make sure two windows are not onscreen at same time