category and paginations layout