adding dynamic input width scaling for multi-select