Now navbar closes when a ink is clicked