Fixing rotate and display when current buffer is nrepl buffer

See https://github.com/clojure-emacs/nrepl.el/issues/368