Jquery Waypoints offset problem

I’m trying to figure out how i can make the div to slide out and slide in back when the offset is met using jQuery waypoint, I’m also using dan eden CSS animation. This is the code i have made but the problem is when i scroll back up the div won’t slide In back even though i set the offset to 100%


	    $(this).addClass(" slideInLeft").removeClass("slideOutRight");