Global gesture recogniser for UI.