adjust heights, margins and alignments