mouse and touch events inject  functions&methods