If its a dynamic pdf, which it sounds like it is, make sure any scripting changes to the layout are stored. Goto File->Form Properties->Defaults tab. Preserve scripting changes should be set to Automatically. If its not set then your pdf will be reset and unhidden will revert to hidden again.