Fixes for resize and initial drawing (moved transition into config)

Added in booleans to trigger hiding the header or the footer as well.