Smooth scroll; add comment and remove unused variable.