minor modifications to files related to infinite scroll functionality