constrain widths and add class to active toolbar icons