Moved gesture binding into directive.