Update viewport when orientation changed on mobile browsers