refactor search form mobile version