view refactoring, able to autoscroll by an event now