defensive handling just in case screen size cannot be identified.