My original scheme for the height adjustment was some peg holes on the sides but now I'm thinking a ratchet mechanism might be more convenient, although not easier to construct.

1b526f36dde9ab651e632b3842d915962e43a595