Corrected selection removal by index instead of object
Introduced tEnd flag to differentiate between touch end and out according to sequence