Click the Pocket button and all your minimap buttons open in one small panel, with the ones you use the most first.
Buttons per row, close by itself and the order. Click any button in the list to keep it on the minimap instead.