change layout on delete views