Articles are now displayed as read/unread correctly again, also added javascript to mark articles as read as you scroll by them.
Changes to JS for endless pagination.