adjust ui elements.