Adds the smooth scrolling JS