Make the progress bar static if we hit the right scroll position.
Make the progress bar static when it hits the top of the window.