Fix scrolling output not working
by adding a conditional for the append output
height reset.