Added pagination, 5 posts displayed per page