Debug scroll function (3)