fixing slug category on pagination click