refactor appscrolls/scroll.generate