<script>
var count = 0;
$("#nex").on("click", function(){
if (count == 0){
$('.divwrapper').css('marginLeft', '-345px');
count++;
}else if (count == 1){
$('.divwrapper').css('marginLeft', '-725px');
count++;
}else {}
});
</script>