function goToByScroll(id,obj){

	jQuery('#posts').scrollTop(0);
	jQuery("#sideNav li a").each(function() {
		jQuery(this).removeClass('activep');
	});
	jQuery('#posts').animate({scrollTop: jQuery("#"+id).position().top},'slow');
	jQuery(obj).addClass('activep');
}

function backToTop() {
	jQuery('#posts').scrollTop(0);
	jQuery("#sideNav li a").each(function() {
		$(this).removeClass('activep');
	});
}
