fix layout for smaller displays