Define custom mouse gesture events over DOM elements