Animating stripes: Refactoring