$(function(){$('.move_scr').on('inview',function(event,isInView,visiblePartX,visiblePartY){if(isInView){$(this).stop().addClass('onMove');} else{$(this).stop().removeClass('onMove');}});});