automatic set header height