Fix some of the infinite scroll issues.

Getting the infinite scroll to work with the Portfolio was a little tricky, but I have manages to find a way.