Smooth scroll on # targets and show no hash in the url
// Warning, this wil target all # elements
// Even when they do not link to a location on the page
// For example, #next-arrow will also prevent the default behavior
$('a[href^="#"]').on('click', function (e) {
e.preventDefault();
var target = this.hash;
var $target = $(target);
$('html, body').animate({
'scrollTop': $target.offset().top
}, 500, 'swing');
}); // - end Smooth scroll