mouse & touch behavior to separate plugin