Refactored main view into UIScrollView