Added activity version of gesture detector