Optimize view in small devices