RED ALERT!
You need to first clear any existing inactivity timeout before setting the new one.
As this code stands now, you're registering a new timeout on every touchmove event, and that is going to be a performance issue.