Calculate column height differently for horizontal versus collapsed grid behavior.