improves search clearing logic #122
(semi-WIP) adds rendering logic surrounding expanding and collapsing views #122