Disable forward pagination when there are no more pages

Ensure the forward pagination button is disabled when there are no additional pages for the two pagination sections (inbox and search).