calculate height of li:s