Strange expand / collapse issue in repeater

@ahmdjsalhi This code worked great for me! Thank you!