The corks shouldn't slide out unless there is pressure inside, wet or dry. Or they may be not quite the right size for your bottles.
I had some white wine(commercial, not homemade) bottles start fermentation after 3 years in our cave. We found about a dozen bottles with the corks halfway out, some completely popped and others just starting to migrate. The wine was fizzy but otherwise pretty good.