implementing and fine-tuning scrollbars on typeahead