improve layout for narrow window