Add computation of drag vector

	- Use state machine to handle touch events