[Feeds] Added the logic to trigger disabling the previous and next in the pagination in feeds.