track points to detect clicks