[#50928529] fixed mobile header button.  reorganized header code into a separate files.