Added SWAP variable  to highligh the current window (last value of the array)