Switch to gesture detector