refactor MainWindow::setupScrollPosition()