It appears you can capture a direction argument in the function:
$('#waypoint').waypoint(function(direction) {
if(direction==="down") {
$("p").animate({left:"300px"});
} else {
$("p").animate({left:"0px"});
}
}, {
offset: '70%'
});
Demo