Add transition on search box

It's kind of cool trend to use animated-expanding search box nowadays.
E.g. see Github.
Merge pull request #3073 from dmedvinsky/cosmetic-search-transition

Add transition on search box