pagination: changed layout