$('span.next-section').bind('click',function(event){ var $anchor = $('.landing-component'); $('html, body').stop().animate({ scrollTop: $anchor.offset().top }, 500,'easeInOutExpo'); event.preventDefault(); });