Updated line breaks for new window size. Restricted text scrolling to enable only when necessary