swap buffers in split window