Changed main layout, it now resizes due to the screen size