plugged gesture detection into crocodoc api