Updated logic on getting answer of Infinity, Made scrolling work on size of previous token