Added option to keep search results after select close
essential bugfix
Add direction option