sets up smooth scroll