added pane to handle mouse click events