support scaling on small devices