Fixed a bug to do with endless scrolling
Update to use the new notifications API