Fixes animation when opening new articles

The offset was incorrectly calculated, ignoring the horizontal distance
already scrolled.