interactive function, modify N-column mode on the fly