fix display on devices with small screens