added styles and fixed typeahead reset