feat(typeahead): anchor popup left or right of input