fix layout at smaller resolutions