A $4 solution. Each shelf has a tray with certain spices. They're all labeled on the front and top for easy selection.
And then you just slide the tray out (the garlic only fell down because I'd already taken the dash out! It's not like that normally I promise!)
And grab what you need. Woe to the first one who puts a spice in the wrong tray though! It's working pretty well and will be re-useable in other spaces. Mission accomplished. And, because I can't post a post title that without reference to this