WIP reattach buffer if they are (re)opened

Does not update the display atm. Works when scrolling left twice and
back.