home grid ui optimization