updates to fix sorting animation