If the accordion is jumping to the top of the page, there are 2 simple steps to follow:
– Give the section (where the accordion is) a name, let’s say “section-1” (without “)
– For each image of the accordion you will put the same link “#section-1” (without “)
This only prevents the jumping to the top of the page which is what I experienced.