Improve window history management

See also
  - https://github.com/emacs-jp/elscreen/pull/6

CC: @debug-ito 

FYI: MELPA elscreen switches from `shosti/elscreen` to `knu/elscreen`(your repository).