invoke window handling based on the triggered gesture event