implemented smooth scroll js