Re-code doubleTapToGo to work properly on tablets and mobile devices