Implement an adaptive navigation menu