fix less scrolling, update terminal