You can do it 2 different ways.
Either add another condition that checks if the touch is over the "left side screen box" or the right side screen box at the time of touch.
or check its X position of the touch, and see if that's greater or less than half of the layout width.