Updated determining density and size of screen