configure viewport for mobile devices