fix viewport problem on mobile devices