When you change the function "manage scroll y" to run without refresh scratch randomly glitches to the moon.
After discussion on the scratch forums, the reason is suspected to be that scratch attempts to run the function as many times as possible. This isn't a problem for lots of other scrolling engines as they also have the player moving. If the player itself is moving it changes X and Y coordinates which probably limits the amount of times that scratch runs the function.