After all files are scanned, Avast starts all over again.
When not all files are scanned (when the screensaver is interupted) it starts the next time where it left off the last time.