Fix scrolling output (not working post clear_output changes)

Added a conditional for the append output height reset.

- My question is, do we still even need to fix the height?  
    - Will the supported browsers ever redraw while Javascript is being parsed?

Regression introduced in #4229