setup default header and footers
implement actions on header or footer view