removes space after if a row needs to be removed fixed a bug where the extra space after was left behind for rows going over a page