gesture.on("deactivate", function() {
                    if (value.deactivate_event)
                        handler.call(value.deactivate_event, value.data, this._node, gesture);
                    if (value.interaction && node.interactions && node.interactions[value.interaction] && node.interactions[value.interaction].stop)
                        node.interactions[value.interaction].stop();