Revert "Revert "Remember the last active pane in the top-bottom or left-right cell so""

This reverts commit 8c65b92bef59afbf51c3ecd59c2ae650c003eded.