Animating a simple dance loop for a 2D character