Added dynamic delegate for UIGestureRecognizer