Switched to smooth scrolling
Added support for avoiding automatic text scroll when the input field has lost focus. Which also fixes the jumping scrolling bug