added conditional for progress bar initializing
updated reward layout