fix viewport on tap