im using .animate to scroll to the top of the page, but if the user is already at the top or very near it and they click .proj-tile they wont be able to scroll down again for 1200ms is there a way to stop the script stop when the top is reached ?
$('.proj-tile').click(function() {
$('html, body').animate({ scrollTop: '+0' }, 1200);
});
cheers