adjusted bottom and top border heights