Happy that it worked, my idea was pretty simple :
function replytoQuestion(numberId, idName) {
var numberId; // Number id
// *** Some treatment with numberId *** //
return go(idName);
}
function go(idName) {
// *** scroll to the div with smootheffect *** //
}