fix the viewport for the mobile end