use ncurses window instead
fixed background scrolling and implemented window