autosize for newer devices