Some small fixes.

Add a function to set the position.
Modified to make it easier to change the TouchHandler class.