If it's on mobile it is better to load as little as possible. For my game I have shop menu in a different layout, you tap on shop button and go to it. Then in shop you have an exit button to return to game. If you build all your menus in one layout and make them visible/invisible you come across the performance problem. Let's face it, the shop does not need to be following you through the game set to invisible.