I also needed something like that and ended up making a widget with code for the onclick:
$('html,body').animate({scrollTop: $("."+this.theDiv).offset().top+(parseInt(this.yOffset))}, this.duration);
Maybe you can put something like this with hardcoded values in an html snippet and attach it as an onclick attribute value
You could also try to make use of the deeplink module from the appstore: https://appstore.home.mendix.com/link/app/43/Mendix/Deep-link-module
I ended up with this and it works fine:
'<li><span onclick=document.getElementById("'+ $Article/ArticleID + '").scrollIntoView();>' + $Article/Title + '</span></li>'