added search functionality to both desktop and mobile