Merge pull request #259 from woshilapin/XWIKI-9970

XWIKI-9970: Inconsistent hiding of the main menu top bar
(cherry picked from commit ab5af4f9a88332a64af8a203faafad7f5e0594a4)