Feeds: Improved pagination logic and added page switching support.

Related to #6173.