support both mouse and touch for dd. Fixes #414