pulse loop animation better handling