Welcome to our forum.
Are you talking about accordion plugin? if its accordion plugin issue please see there is an option
“Click Header to scroll top” you can set “No” to turn this feature off or adjust value.
please see the screenshot
Let me know for more help.