Scrolling function try #1001 now better than ever