adding custom smooth scroll functionality