fixed up styling, added expando, limited select options based on table