Fixing menu in phone and tablet