fix glitch where clicking pages after scrolling leaves you offset by a few px