fix: make small speed improvements on dynamic scrolling