change implementation of scrolling to bottom