Allow touch gesture to be configurable

Change-Id: I13f4a3cd7a670c9bbde82f42716dc1f305a81b1c