added autoscroll on mouse unfocus