paginate directory and fix default gravatar