IMPORTANT fix of pan gesture. Add ARC support.