change the viewport params for mobile