converted edge gesture to simple pan gesture