What does this idiom mean? "Going off your rocker"?

i dont know what this idiom mean and i need to know my grandpa had been saying for so long.
7 answers 7