Smooth scroll; eliminate race condition.
Smooth scroll; tidy up.