Moved the touchmove handler to touchend