added a gesture delegate