adjust heights of ace and output box to be dynamic