I am having an issue getting my divs to animate when I close them. Any help as to why it's not would be helpful.
$(function() {
  $('a[href*=#]:not([href=#])').click(function() {
    if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
      var target = $(this.hash);
      target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
      if (target.length) {
        $('html,body').animate({
          scrollTop: target.offset().top
        }, 1000);
        return false;
      }
    }
  });
});
$(document).ready(function() {
    $('.bar1').click(function() {
        $('#full1').toggleClass('open', 900);
    });
    $('.bar2').click(function() {
        $('#full2').toggleClass('open', 900);
    });
    $('.bar3').click(function() {
        $('#full3').toggleClass('open', 900);
    });   
    $('.bar4').click(function() {
        $('#full4').toggleClass('open', 900);
    });   
});
 
     
     
     
    