Worked out interactivity of nav buttons