Adapt viewport for mobile devices