adjusted  element layout.