Implement animations for quick sort that is in-place.