fix so that test pass using scrollToBottom method