Layout for works with pagination