[#50370319] Tweak resize.js to support the new mobile landscape view.