getting closer to a working gesture plugin