fix screen size problems for different device