Made layouts more adaptive to screen size.