implemented options to specify number of columns to freeze