optimizing UI appearance