header working between switches of mobile to regular header