adds closing search results functionality #122
fixes bug where search results will be appended to DOM repeatedly #122