add horizontal scrolling for the prompt