#javascript scroll detector waypoints.js
$('.scrolldetector').each(function() {
var $this = $(this);
var waypoint = new Waypoint({
element: $this.get(),
handler: function() {
$this.addClass('animate');
},
offset: '70%'
});
});