Added snippet to toggle pair or windows.