Switching of header/footer