adjusted the height of the elements