adjusting loop index on homepage posts list