$("#menupic").click(function(e) {
$(".menu").animate({
left: $(".menu").css('left') == '-400px' ? "0px" : "-400px"
}, 200);
});
html >>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div id='menupic'>menupic</div>
<div class='menu'>menu</div>
css>>
.menu{position:relative;}