base controller for scroll view