gesture works again. Needed a function wrapper for the delegate method