when click a item, pan to make the focus follow the mouse