corrected distance animation