set the viewport for mobile