MD Settings: Scroll correctly for navigations that exit search mode.

Previously, exiting search mode by clicking on a section link did not
work. This was because we tried to scroll to the section before the
search mode exited.

This CL adds another attempt to scroll AFTER search mode exits.

BUG=667958
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2552393002
Cr-Commit-Position: refs/heads/master@{#437165}
3 files changed