Bug 880578 - Fix updating of scroll position; r=BenWa,a=leo+