Changed layout on main screen for both portrait and landscape views