qml: fix search box not closing properly if close animation was interrupted
Once the animation is interrupted (for example, the button is clicked again before the animation ended), it does not retract to 0.0 width anymore.
I wanted potential GSoC students to do this as an easy task to get familiar with the code base, but it has not happened for a long time.
Request review @chub.