fixed crash with reusing cells and inserting items
added set for headers and footers so they appear and disappear correctly
Merge pull request #9 from odyth/master

crash on insert, disappearing header / footer