progress bar position gets set correctly on load