made the countdown bar into a progress bar