refine layout show order