Fix for issues with headers of different sizes not being sized correctly

These two commits fix an issue where headers of varying sizes weren't being sized correctly. mostly this is due to the view not being part of the actual view hierarchy so it doesn't reset certain inner private fields that tell the framelayout it should actually resize.

I know your looking at restarting this from scratch but figured any little improvements would help figure out problems to look out for in the rewriting of this library.