Change layout dimensions for smaller resolutions