[library] Return correct increment in scroll methods