adjusting the viewport for mobile