adapt viewport for mobile devices