Both but mostly I fold it flat then roll it up,then stack. I've found the rolls are easier to see and I seem to get more in my shelves. When I take out I just spread my fingers around the other rolls and pull out what I want.Usually it leaves a hole that stays waiting for my new roll up addition to slide in.Sometimes I just pick roll from the top and slide it in.