You can try
smoothScrollToPositionFromTop(position, offset, delay);
where offset is the distance from the top and delay is the total time it takes to complete the scroll.
You can also set the delay based on the scroll value, for example, a larger delay for a greater distance.
source share