fix search bug in mobile and search form display in home page