solved animation snapping