Bug 980679 - Filter redundant scroll offset updates by scroll generation value. r=botond