changed for loop to limit viewed blogs to the most recent five posts