[TASK] Add argument for current page uid

This patch adds a new optional argument ``currentPageUid`` which controls the current page of the browse menu to determine prev and next links.