Fix janky index behavior

Don't apply an animation when there is no change needed in the content offset.