adding pan gesture to scrollView with delegate callBack