refactor duplciated code.
allow section header hiding.