Moving searchbar as an external element to avoid having multiple times
the same code.