fixing last-man scrolling