Create listeners for complex gestures on touch and mouse move events