refactored scroll view