Added scrolling to mainviewcontroller