Get clicks on the sharing cursor to toggle the panel.