Smooth scroll; partial fix to race condition.