added slight delay to progress indicator so it does not create a flash effect