Fix scrolling output not working
by adding a conditional for the append output
height reset.
s/'auto'/''
Merge pull request #4289 from jdfreder/clearoutput

Fix scrolling output (not working post clear_output changes)

Regression introduced in #4229