fixed progress bar bug and added seconds counter