added AJAX call to set item as read on click