add select-previous-window support for each frame as what workgroup-mode does in wp-switch-to-privous-group to make us switch eaier in two most used windows