optimize view on mobile devices