Determine screen size and density