$('.nav a').on('click', function(){
    $(".navbar-toggle").click();
});
$('.nav a').on('click', function(){
    if ($(window).width() <= 767) {
        $(".navbar-toggle").click();
    }
});
Hide close animation for non mobile.
Hide close animation for non mobile.
