Keep top controls visible if SHOW is called right after HIDE.

Currently, we early exit if the visibility amount matches our
desired ending amount.  But when you set HIDDEN as the current,
it will start an animation, and a immediate call to SHOWN will
see that the ending condition is met and return, but does not
clear the animation.

Now, clear the animation if the current value matches our
desired ending value to ensure it doesn't move.

BUG=639702
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel

Review URL: https://codereview.chromium.org/2371223002 .

Review-Url: https://codereview.chromium.org/2372713004
Cr-Original-Commit-Position: refs/heads/master@{#421125}
Cr-Commit-Position: refs/branch-heads/2840@{#546}
Cr-Branched-From: 1ae106dbab4bddd85132d5b75c670794311f4c57-refs/heads/master@{#414607}
2 files changed