Thanks for such a great reply!
I added it to my game and it works a treat
Only thing I found I had to do was remove these lines of code:
// signal recognized swipes signal swipeUp signal swipeDown
They seemed to mess with it somehow. Aside from that perfect thank you!