Fixed to allow sending total time for a progress bar and have it animate based on that