wrapped up multi-selection logic. todo: clean it up, add tests, finish input re-sizing logic
auto-scaling logic for multi-select search input