change layout on delete button and items-per-page buttons