add pan gestrue to popview