disable the gradient of the header

Added the interface to turn on / off the gradient explicitly.