keep previous place in search box