So I had this problem for over a year 1/2, and I finally was able to understand the problem, at least for my iMac.
I installed all kind of apps to find out what it was, added RAM, switched to a SSD HD, reinstalled a fresh copy of OS ......... but nothing fixed the issue.
Recently by a struck of luck, it froze on me while using the wheel on my mouse. I have it set up for fast tracking and right in the middle of the scrolling it locked.
That was the ticket. I then realized that the video card can not keep up with the amount of information that my mouse was requesting while going up or down the web page.
In fact I did some research on that and it confirmed that when the limit is reached, the video card just goes into a "locked" status. Everything that is not related to the screen will still work, but nothing that is supposed to be projected on the monitor will.
I am still running the ATI Radeon HD 4850 512 MB that came with the computer. I saw that there is an upgrade, one with 1GB but the price is quite high and at this point I do not see it as a valuable option considering the fact that after thousands and thousands of impeccable work, my beloved iMac might soon show the irreversible signs of age and it might have to be replaced.
One way I was able to get around the issue, is to use every scrolling capability at a much slower pace, and so far no freezing anymore.
So just a little extra patience might just put my great iMac in the position to help me out for some extra time.
I hope this helps.
Cheers