Fix header menu open.

Fix opening header menu for non desktop devices.