implemented vertical alignment with table-cells