Cross-browser screen width/height polling