check layout params for headers and footers