added progressBar styling and functionality