added progress bar directive