fix mobile screen size chack to be supported by older systems