Hierarchical navigation for responsive pages