Fix search show/hide and fade-overlay issues

Added delay after search hide animation so the search show animation
isn’t also executed on the same press, forcing the page to scroll to
the top on search open on iOS since it tries to force the search bar to
the vertical center of the page otherwise, stopping the fade-overlay
from switching the cursor to cursor:pointer on big