animate doc changes