Onclick event on dynamic page is triggered wrongly

What I’m trying to achieve:

  • when a user click a certain button the page scrolls up so that this button will be on the top of the screen and a collapsed text-box expends/appears. Let’s call this button - an “action button”. (in the code below this button is called #SongListButton)

Everything works great on the page if you don’t click that “action button.”
When this “action button” is clicked the scroll up and the text box appearance works great.

BUT! Once this “action button” clicked then if you click any other button on the page or any other link on the page it is FIRST flying/scrolling to the same position that the “action button” is set to scroll to and only then it is going to where it is suppose to go.
Even if you press the “next page” button it is first scrolling to the “action button” position and then it goes to the next page.

More than that - if you are arriving to this dynamic page from any other page it is going right away to the “action button” position and not to the top of the page.

I’m pretty new in wix coding and will appreciate truly any help with this ! Thank you so much!
Here is the CODE:

$w.onReady( ()=> {
$w(“#Actsdata”).onReady( () => {
let actname = $w(“#Actsdata”).getCurrentItem().actName;
$w(“#dropdown1”).value = actname;

$w(“#SongListButton”).onClick( (event) => {
if ( $w(“#SongList”).collapsed ) {
$w(“#SongList”).expand();
$w(“#SongListButton”).scrollTo();
}// if
else {
$w(“#SongList”).collapse();
}

});// SongListButton onclick

$w(“#getquotebutton”).onClick( (event) => {
$w(“#textbeforequote”).scrollTo();
});
});
});

Here is the dynamic page that i need help with

https://graziani.wixsite.com/walla-test-3/Act-page/Solo-Sax

thank you!!