adding all stuff for search including a couple of gems, and search buttons in the nav
changed functionalty of search page based on screen size