Refine UI Layout