changed so posts are marked as viewed on spot not on load