try to fix scroll functionality
now cwd of a new pane is the cwd where the pane is open