fixing scrolling and newline