Optimized layout for smartphones and tablets