optimize tablet and giant screen