ole.log("rightswap");
                image.classList.add("active");

                const element = indicator[count];
                const element2=indicator[count-1];
                console.log(element2);
                console.log(element);

                element.classList.add("active");
                element2.classList.remove("active");
                
                flag1 = false;
            }

        })
    });



    btn2.addEventListener('click', function leftswap() {
        let flag2 =