I fold them so they fit the shelf I plan to use. I have a smaller bookcase so the folds were different than what I did with the wider shelves. I want to be able to see the folded ends but I don't want to waste shelf space.
I don't believe there is a right or wrong answer here.