add hide footer method