New gesture interface (fix #188)