x and o img switch working