Optimizing navigation for small screens