refinements for better anim loops in case of segmented anims