styling and fixing bug in search filter on home page