adding mouse and pane toggling to make mouse cut a paste possible on mac