Creating an animated progress bar that updates the progress based on how far you scrolled into a content section