For some reason "When Up arrow pressed" and "When Down arrow pressed" blocks detect scrolling, but "Is Up arrow pressed?" and "Is Down arrow pressed?" statements do not, you can use some basic logic with this to make a scroll detector, which usually isn't possible with scratches input blocks.
This is probably a bug so do expect it to not work for some people.