add typing speed and auto scrolling