Create smooth scroll to go to the chapter upon clicking the menu