change layout of items