A solution to report accurate cross-browser viewport dimensions