@crdlc and @ranbena :

earlySwipe will be always true except for only one use case : 

"Consider, I am in everythingme.js page (i.e currentPage variable is set to Zero) and I moved my finger from right to left very fast without removing my finger from screen. Earlyswipe logic will cause a full page transition to clock homescreen page . Now if we try to pan then this condition prevents touchmove event to pan. I added "earlySwipe " as condition here so that it allows us to pan in this case."

So this code should work as it is used to do earlier with new earlyswipe condition. It seems to me that this code is fine.

Please suggest if I need to do any change.