Add delegate to pass tap and pan