fix the longpress gesture