This is a new windows 10 feature. Its called Inactive Window Scrolling.
Please Google How To Disable Windows 10’s Inactive Window Scrolling. And turn it off.