I think the reference was to another thread in a previous week.
If no screensize cookie is set, use Javascript, on the client, to detect the screen size and relay the data to PHP, which can then act on that information (by redirecting or by adjusting sizes on subsequent pages.)