fixed accordion loop