trying some basic gesture analysis, probably won't work well