adding a script for the smooth scroll