Update viewport for mobile devices