def METHOD_NAME(self, old_value: float, new_value: float) -> None:
    if self.show_vertical_scrollbar and round(old_value) != round(new_value):
        self.vertical_scrollbar.position = round(new_value)
        self.refresh()