Adding viewport for mobile devices