move window to top, add buffer