add panel config for longpress