Moved progress bar code