corrected pattern for ipad
adjusted viewport for mobile