display now changes reliably based on screen size.