Modified css height calculations.