Debug scroll function (4)