Try adding this JS instead of previous one,
- Code:
[panda=js] $("#topicViewBasic").click(function(){
$(".pun .post .user").hide("user");
$(".postmain").css('margin-left','0px');
$(".postfoot").css('margin-left','0px');
$("#topicViewRegular").removeClass("active");
jQuery(this).addClass('active');
$("div.main-content.topic").addClass("basicTopicView");
});
$("#topicViewRegular").click(function(){
$(".pun .post .user").show("user");
$(".postmain").css('margin-left','17em');
$(".postfoot").css('margin-left','-17em');
$("#topicViewBasic").removeClass("active");
jQuery(this).addClass('active');
$("div.main-content.topic").removeClass("basicTopicView");
});
});