FAwindowing is a set of AppleScripts that can be used to store and restore window settings when switching folders using the OS X window toolbar. This routine works quite nicely when 'Always open folders in a new window' is deselected in Finder Preferences.
What's new in Folder Action Windowing
This release (104v2) removes an annoying error dialog if the user gets too far ahead opening windows and the OS catches up and the target window is no longer open. Also, Option key is detected more reliably for entering into SettingsMode.