If you get rid of the dynamically registered touchmove and touchend handlers, then this can just be part of the static touchend handler. 

And, if you get rid of the touchStartID, then you won't need this at all.