change pan gesture plan to scrollview