implemented dynamic progress bar for advanced questionnaires