Moving buffers across windows