Fixed smooth scrolling so that JS still works properly.