Refine item layout