allows for realtime toggling of custom header