fixed two minor bugs, a twohanded gesture may not have a direction, and if autoCenter is of, the tipPosition was in the wrong scope
Merge pull request #816 from Gijs-Koot/dev

small fix for issue #814
Merge pull request #3 from hakimel/dev

trial pull for update across dev branches