Some tricks to get the cell resizing the way I want.