Move smooth scroll js to separate file