Refactor mobile header, close #4579

I'm working with @taratatach on a improved header for the mobile version, this is the first pull request of our work.