[qtdeclarative] Update viewport size when header/footer size changes.
Merge pull request #21 from martinjones/headerfooter_resize

[qtdeclarative] Update viewport size when header/footer size changes.