You have a lot of unnecessary code. You don't need the on and off. Also jquery has a hide and show function. This should work:
//Right Toggle
$(".rowToggleR").click(function() {
//animate contentbox
$("#content").animate({
left: "-=300" // animate to the right
}, 800,
// Animation complete. Make Toggle Right invisible, make Toggle Left visible
function() {
$(".rowToggleR").hide();
$(".rowToggleL").show();
});
});
//Left Toggle
$(".rowToggleL").click(function() {
//animate contentbox
$("#content").animate({
left: "+=300" // animate to the right
}, 800,
// Animation complete. Make Toggle Left invisible, make Toggle Right visible.
function() {
$(".rowToggleL").hide();
$(".rowToggleR").show();
});
});