History and smooth scroll