add support for WS.gestureCallback