Add TouchListener class which tracks touch movement.