more support for screens of different size