Added mouse and pane interactions