Issue #1684812 and #1261002 by quicksketch: Fix tabledrag and add touch support.