not scrolling to bottom every time setScrollHeight is being called