added visibility filtering to posts displayed on the scroll