select panel with a mouse