prevent flickering on progress animation