fourth commit, fixes json result array, scrolling first item and marking everything as read when reaching end of page