Smooth scrolling; stop at edge of activated element.