Restore autoscroll functionality (#189)