move drawing code back into the cell from command, fix problem with pager in ST2