Fix scrolling for large outputs