cleaned up squares animation